{% extends 'base.html' %}
{% block title %}
	详情页面
{% endblock %}
{% block head %}

{% endblock %}
{% block content %}
    <div class="well" style="max-width: 400px;margin: auto auto 20px auto;justify-items: center;text-align: center;font-size: 20px;font-family: '楷体';">{{ blog.title }}</div>
    <div class="panel panel-default" style="max-width: 800px; margin: auto;">
        <div class="panel-heading" style="text-align: center">
            <strong>作者：</strong>{{ blog.author.username }} |
            <strong>发布时间：</strong>{{ blog.create_time }} |
            <strong>分类：</strong>{{ blog.categorie.name }} |
            <strong>标签：</strong>
            {% for tag in blog.tags %}
                <span class="label label-info">{{ tag.name }}</span>
            {% endfor %}
        </div>
        <div class="panel-body">
            <div class="blog-content" style="line-height: 1.8; font-size: 16px;">
                {{ blog.content | safe }}
            </div>
        </div>
    </div>

{% endblock %}